//
//  YTCarAddViewModel.h
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/7/8.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import "YTViewModel.h"

@interface YTCarAddViewModel : YTViewModel

/** 车辆所有者*/
@property (assign, nonatomic) BOOL isOwner;
/** 车牌号*/
@property (copy, nonatomic) NSString *carNum;
/** 车辆品牌*/
@property (copy, nonatomic) NSString *carBand;
/** 车辆载客规格*/
@property (copy, nonatomic) NSString *carVersion;
/** 车辆颜色*/
@property (copy, nonatomic) NSString *carColor;
/** 车主姓名(如果是他人)*/
@property (copy, nonatomic) NSString *carOwnerName;
/** 出厂日期*/
@property (copy, nonatomic) NSString *carDate;
/** 车的三张照片*/
@property (strong, nonatomic) UIImage *image1;
@property (strong, nonatomic) UIImage *image2;
@property (strong, nonatomic) UIImage *image3;

/** 驾驶证照片*/
@property (strong, nonatomic) UIImage *drivingLicenseImage;
/** 行驶证有效期*/
@property (copy, nonatomic) NSString *carDrivingLicenseTime;
/** 保险照片*/
@property (strong, nonatomic) UIImage *insuranceImage;
/** 保险到期时间*/
@property (copy, nonatomic) NSString *carInsuranceTime;
/** 年检图片*/
@property (strong, nonatomic) UIImage *carInspectexpImage;
/** 检测时间*/
@property (copy, nonatomic) NSString *carInspectexpTime;

/** 如果有选择关联司导，这里需要记录一下司机的id，用来在绑定车辆成功以后，用来和车再绑定一次
    是不是很震惊？别来问我为啥不直接传给后台，然后绑定？
 */
@property (copy, nonatomic) NSString *driver_id;

@property (strong, nonatomic, readonly) RACCommand *nextStepCommand;
@property (strong, nonatomic, readonly) RACCommand *submitCommand;

@end
